/*
 * @Author: your name
 * @Date: 2021-01-23 10:50:02
 * @LastEditTime: 2021-01-23 10:56:12
 * @FilePath: \flutter_study\lib\pages\iconbadeg.dart
 */
import 'package:flutter/material.dart';

class IconBadeg extends StatelessWidget {
  final IconData icon;
  final double size;

  IconBadeg(this.icon, {this.size});

  @override
  Widget build(BuildContext context) {
    return Container(
      width: size + 60,
      height: size + 60,
      color: Color.fromRGBO(3, 54, 255, 1.0),
      child: Icon(icon, size: size, color: Colors.white),
    );
  }
}
